package com.zhentao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhentao.model.dtos.ResponseResult;
import com.zhentao.model.wemedia.dto.WmMaterialDto;
import com.zhentao.model.wemedia.pojo.WmMaterial;
import org.springframework.web.multipart.MultipartFile;

public interface WmMaterialService extends IService<WmMaterial> {
    //上传素材
    ResponseResult uploadPicture(MultipartFile multipartFile);

    //列表
    ResponseResult findList(WmMaterialDto materialDto);

    //收藏
    ResponseResult collect(Integer id);

    ResponseResult delPicture(Integer id);

    ResponseResult cancelCollect(Integer id);
}
